﻿using System;
using System.Collections.Generic;
using System.ServiceModel;
using System.Threading.Tasks;
using ClientProxies.OneStepServiceReference;

namespace ClientProxies
{
    public class FakeFileServiceClient : ClientBase<IFileService>, IFileService
    {
    
    public FakeFileServiceClient()
    {
            
    }

    public List<FileStatusData> GetFileStatusInfo(DateTime startDate, string companyCode)
    {
      return new List<FileStatusData>()
             {
               new FileStatusData()
               {
                 ApplicationCode = "FakeAppCode",
                 ApplicationDesc = "FakeAppDescription",
                 EndDate = DateTime.Now.AddHours(-1),
                 FileName = "FakeFileName.xml",
                 Grid = "Fake",
                 StartDate = DateTime.Now.AddHours(-2)
               }
             };
    }

    public Task<List<FileStatusData>> GetFileStatusInfoAsync(DateTime startDate, string companyCode)
    {
      throw new NotImplementedException();
    }
  }
}
